package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.controller
 * @Description:
 * @Date 2022/10/1 16:31
 */
@Controller
public class Code {

    @RequestMapping("/captcha/test1")
    public void getCode(HttpSession session){
        Object captcha = session.getAttribute("captcha");
        System.out.println(captcha);
    }
}
